package com.stock.demo.model;

import java.util.List;

/**
 * Created by XuZhaoyu on 2017/6/23.
 */

public class HomeBannerBean {

    /**
     * message : 查询成功
     * success : true
     * entity : {"indexCenterBanner":[{"id":270,"imagesUrl":"/upload/mavendemo/bannerImages/20170418/1492499364196790404.png","courseId":190,"title":"公考直播","keyWord":"indexCenterBanner","seriesNumber":1,"color":"#FFFFFF","previewUrl":""},{"id":271,"imagesUrl":"/upload/mavendemo/bannerImages/20170418/1492499399554177900.png","courseId":190,"title":"32学院上线","keyWord":"indexCenterBanner","seriesNumber":0,"color":"#FFFFFF","previewUrl":""}]}
     */

    private String message;
    private boolean success;
    private EntityBean entity;

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public EntityBean getEntity() {
        return entity;
    }

    public void setEntity(EntityBean entity) {
        this.entity = entity;
    }

    public static class EntityBean {
        private List<IndexCenterBannerBean> indexCenterBanner;

        public List<IndexCenterBannerBean> getIndexCenterBanner() {
            return indexCenterBanner;
        }

        public void setIndexCenterBanner(List<IndexCenterBannerBean> indexCenterBanner) {
            this.indexCenterBanner = indexCenterBanner;
        }

        public static class IndexCenterBannerBean {
            /**
             * id : 270
             * imagesUrl : /upload/mavendemo/bannerImages/20170418/1492499364196790404.png
             * courseId : 190
             * title : 公考直播
             * keyWord : indexCenterBanner
             * seriesNumber : 1
             * color : #FFFFFF
             * previewUrl :
             */

            private int id;
            private String imagesUrl;
            private int courseId;
            private String title;
            private String keyWord;
            private int seriesNumber;
            private String color;
            private String previewUrl;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getImagesUrl() {
                return imagesUrl;
            }

            public void setImagesUrl(String imagesUrl) {
                this.imagesUrl = imagesUrl;
            }

            public int getCourseId() {
                return courseId;
            }

            public void setCourseId(int courseId) {
                this.courseId = courseId;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getKeyWord() {
                return keyWord;
            }

            public void setKeyWord(String keyWord) {
                this.keyWord = keyWord;
            }

            public int getSeriesNumber() {
                return seriesNumber;
            }

            public void setSeriesNumber(int seriesNumber) {
                this.seriesNumber = seriesNumber;
            }

            public String getColor() {
                return color;
            }

            public void setColor(String color) {
                this.color = color;
            }

            public String getPreviewUrl() {
                return previewUrl;
            }

            public void setPreviewUrl(String previewUrl) {
                this.previewUrl = previewUrl;
            }
        }
    }
}
